projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888d644
)
* net/shr.el (shr-colorize-region): Allow 88-color tty to use colors.
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Tue, 29 Sep 2015 06:30:48 +0000
(06:30 +0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Tue, 29 Sep 2015 06:30:48 +0000
(06:30 +0000)
Suggested by Eli Zaretskii.
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index ebc8ab3327f7503ac7d22bf24713980f75fcf9b5..60203f581ec4023cfaf43c12ce46582e647dc115 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1042,7
+1042,7
@@
ones, in case fg and bg are nil."
(shr-color-visible bg fg)))))))
(defun shr-colorize-region (start end fg &optional bg)
- (when (and (or fg bg) (>= (display-color-cells)
256
))
+ (when (and (or fg bg) (>= (display-color-cells)
88
))
(let ((new-colors (shr-color-check fg bg)))
(when new-colors
(when fg